<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Logon extends CI_Controller {
    
    function __construct() 
    {
        parent::__construct();
    }
    
    public function out(){  
        $this->session->set_userdata("id_member","");
        $this->session->set_userdata("nama","");
        $this->session->set_userdata("no_hp","");
        echo "<script>window.location.href='".site_url('profile')."';</script>";
    }
    
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */